package com.baihejia.common.dubbo.service;

import java.util.List;

import com.baihejia.common.dubbo.domain.*;

/**
 * api 公共
 *
 * @author hanxipeng
 */
public interface Api {
	CommunityEsPage getCommunitys(CommunityQuery query);
	Page<String> searchCommunity(CommunityQuery query);
	City city(long cityId);
	public List<Subway> subways(long cityId);
	public SubwayStation subwayStation(long subwayStationId);
	public Area area(long areaId);
	public List<Area> areas(long cityId);
	public BusinessArea businessArea(long businessAreaId);
	public List<BusinessArea> businessAreas(long areaId);
	public Community getCommunityById(long id);
	public City getCityByListName(String listName);
	public List<SubwayQueryResult> nearSubwayByCityAndLatAndLon(SubwayQuery subwayQuery);
}